package com.joe.web.test;

public class CC {
    public static void main(String[] args) {
        String s = "<span src=\"file/img/2016/12-28/1234-25521482893088459.jpg\"  title=\"1234.jpg\" alt=\"\" width=\"396\" height=\"271\" style=\"width: 396px; height: 271px;\"/>";
        System.out.println(s.replaceAll("(<span.*?)style=\".*?\"", "$1"));
    }
}